package com.ywd.platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lk
 * @date 2024/5/24 10:44
 */
@TableName(value = "t_user")
@Data
public class UserEntity implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String account;

    private String password;

    private String userName;

    private String phone;

    private String email;

    private String headImage;

    private Boolean isBlocked;

    @TableLogic
    private Boolean isDeleted;

    private String createTime;

    private String updateTime;
}
